package com.bdzl.pub.entity.flow;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;



/**
 * 工作流节点驳回信息表
 *
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-05-12 10:14:58
 */
@Data
public class ActNodeRejectDO implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键 ID，自增
	private Integer anrId;
	//驳回名称/说明
	@NotNull(message = "驳回名称不能为空！")
	private String anrName;
	//当前节点编号，外键
	private String anrNodeNow;
	//驳回后的节点编号，外键
	@NotNull(message = "驳回后的节点不能为空！")
	private String anrNodeReject;
	//驳回后的订单状态
	@NotNull(message = "驳回后的订单状态不能为空！")
	private String anrRejectOdrVal;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone="GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date anrCretime;
}
